/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package cz.muni.fi.rum.sender.command.Factory;

import cz.muni.fi.rum.sender.SenderException;
import cz.muni.fi.rum.sender.command.RapRequest;
import cz.muni.fi.rum.sender.command.RapResponse;
import java.util.Map;

/**
 *
 * @author pmikulasek
 */
public interface CommandFactory {

    RapRequest createRequest(String key, Map<String,String> params) throws SenderException;
    
    RapResponse createResponse(String value);
}
